using System.ServiceModel;
using System.Collections.Generic;

namespace WCFDicing.ServiceContracts
{
    /// <summary>
    /// prosba o rozpoczecie symulacji rzutu
    /// </summary>
    [MessageContract]
    public class SimulationRequest
    {
        /// <summary>
        /// wlasciwosci rzutu
        /// </summary>
        private WCFDicing.DataContracts.DicingAnimation AnimationField;

        /// <summary>
        /// get i set wlasciwosci rzutu
        /// </summary>
        [MessageBodyMember( Order = 0 )]
        public WCFDicing.DataContracts.DicingAnimation Animation
        {
            get { return AnimationField; }
            set { AnimationField = value; }
        }

        /// <summary>
        /// id gracza ktory prosi o symulacje
        /// </summary>
        private System.Int32 IDField;

        /// <summary>
        /// get i set id gracza ktory prosi o symulacje
        /// </summary>
        [MessageBodyMember( Order = 1 )]
        public System.Int32 ID
        {
            get { return IDField; }
            set { IDField = value; }
        }

        /// <summary>
        /// id gry w ktorej rozpoczynamy symulacje
        /// </summary>
        private System.Int32 GameIDField;

        /// <summary>
        /// get i set id gry w ktorej rozpoczynamy symulacje
        /// </summary>
        [MessageBodyMember( Order = 2 )]
        public System.Int32 GameID
        {
            get { return GameIDField; }
            set { GameIDField = value; }
        }


    }
}


